Optimal. Leaf size=454 \[ -\frac {(d+e x) \sqrt [4]{a g^2+c f^2} \sqrt {\frac {\left (a+c x^2\right ) (e f-d g)^2}{(d+e x)^2 \left (a g^2+c f^2\right )}} \left (\frac {(f+g x) \sqrt {a e^2+c d^2}}{(d+e x) \sqrt {a g^2+c f^2}}+1\right ) \sqrt {\frac {\frac {(f+g x)^2 \left (a e^2+c d^2\right )}{(d+e x)^2 \left (a g^2+c f^2\right )}-\frac {2 (f+g x) (a e g+c d f)}{(d+e x) \left (a g^2+c f^2\right )}+1}{\left (\frac {(f+g x) \sqrt {a e^2+c d^2}}{(d+e x) \sqrt {a g^2+c f^2}}+1\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c d^2+a e^2} \sqrt {f+g x}}{\sqrt [4]{c f^2+a g^2} \sqrt {d+e x}}\right )|\frac {1}{2} \left (\frac {c d f+a e g}{\sqrt {c d^2+a e^2} \sqrt {c f^2+a g^2}}+1\right )\right )}{\sqrt {a+c x^2} \sqrt [4]{a e^2+c d^2} (e f-d g) \sqrt {\frac {(f+g x)^2 \left (a e^2+c d^2\right )}{(d+e x)^2 \left (a g^2+c f^2\right )}-\frac {2 (f+g x) (a e g+c d f)}{(d+e x) \left (a g^2+c f^2\right )}+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.63, antiderivative size = 454, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {936, 1103} \[ -\frac {(d+e x) \sqrt [4]{a g^2+c f^2} \sqrt {\frac {\left (a+c x^2\right ) (e f-d g)^2}{(d+e x)^2 \left (a g^2+c f^2\right )}} \left (\frac {(f+g x) \sqrt {a e^2+c d^2}}{(d+e x) \sqrt {a g^2+c f^2}}+1\right ) \sqrt {\frac {\frac {(f+g x)^2 \left (a e^2+c d^2\right )}{(d+e x)^2 \left (a g^2+c f^2\right )}-\frac {2 (f+g x) (a e g+c d f)}{(d+e x) \left (a g^2+c f^2\right )}+1}{\left (\frac {(f+g x) \sqrt {a e^2+c d^2}}{(d+e x) \sqrt {a g^2+c f^2}}+1\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c d^2+a e^2} \sqrt {f+g x}}{\sqrt [4]{c f^2+a g^2} \sqrt {d+e x}}\right )|\frac {1}{2} \left (\frac {c d f+a e g}{\sqrt {c d^2+a e^2} \sqrt {c f^2+a g^2}}+1\right )\right )}{\sqrt {a+c x^2} \sqrt [4]{a e^2+c d^2} (e f-d g) \sqrt {\frac {(f+g x)^2 \left (a e^2+c d^2\right )}{(d+e x)^2 \left (a g^2+c f^2\right )}-\frac {2 (f+g x) (a e g+c d f)}{(d+e x) \left (a g^2+c f^2\right )}+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 936
Rule 1103
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {d+e x} \sqrt {f+g x} \sqrt {a+c x^2}} \, dx &=-\frac {\left (2 (d+e x) \sqrt {\frac {(e f-d g)^2 \left (a+c x^2\right )}{\left (c f^2+a g^2\right ) (d+e x)^2}}\right ) \operatorname {Subst}\left (\int \frac {1}{\sqrt {1-\frac {(2 c d f+2 a e g) x^2}{c f^2+a g^2}+\frac {\left (c d^2+a e^2\right ) x^4}{c f^2+a g^2}}} \, dx,x,\frac {\sqrt {f+g x}}{\sqrt {d+e x}}\right )}{(e f-d g) \sqrt {a+c x^2}}\\ &=-\frac {\sqrt [4]{c f^2+a g^2} (d+e x) \sqrt {\frac {(e f-d g)^2 \left (a+c x^2\right )}{\left (c f^2+a g^2\right ) (d+e x)^2}} \left (1+\frac {\sqrt {c d^2+a e^2} (f+g x)}{\sqrt {c f^2+a g^2} (d+e x)}\right ) \sqrt {\frac {1-\frac {2 (c d f+a e g) (f+g x)}{\left (c f^2+a g^2\right ) (d+e x)}+\frac {\left (c d^2+a e^2\right ) (f+g x)^2}{\left (c f^2+a g^2\right ) (d+e x)^2}}{\left (1+\frac {\sqrt {c d^2+a e^2} (f+g x)}{\sqrt {c f^2+a g^2} (d+e x)}\right )^2}} F\left (2 \tan ^{-1}\left (\frac {\sqrt [4]{c d^2+a e^2} \sqrt {f+g x}}{\sqrt [4]{c f^2+a g^2} \sqrt {d+e x}}\right )|\frac {1}{2} \left (1+\frac {c d f+a e g}{\sqrt {c d^2+a e^2} \sqrt {c f^2+a g^2}}\right )\right )}{\sqrt [4]{c d^2+a e^2} (e f-d g) \sqrt {a+c x^2} \sqrt {1-\frac {2 (c d f+a e g) (f+g x)}{\left (c f^2+a g^2\right ) (d+e x)}+\frac {\left (c d^2+a e^2\right ) (f+g x)^2}{\left (c f^2+a g^2\right ) (d+e x)^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 1.40, size = 344, normalized size = 0.76 \[ \frac {\sqrt {2} \left (\sqrt {c} x+i \sqrt {a}\right ) \sqrt {d+e x} \sqrt {\frac {\frac {i \sqrt {c} d x}{\sqrt {a}}-\frac {i \sqrt {a} e}{\sqrt {c}}+d+e x}{d+e x}} \sqrt {\frac {(f+g x) \left (\sqrt {a} e+i \sqrt {c} d\right )}{(d+e x) \left (\sqrt {a} g+i \sqrt {c} f\right )}} F\left (\sin ^{-1}\left (\sqrt {\frac {(e f-d g) \left (\sqrt {c} x+i \sqrt {a}\right )}{\left (\sqrt {c} f-i \sqrt {a} g\right ) (d+e x)}}\right )|-\frac {\frac {i \sqrt {c} d f}{\sqrt {a}}-e f+d g+\frac {i \sqrt {a} e g}{\sqrt {c}}}{2 e f-2 d g}\right )}{\sqrt {a+c x^2} \sqrt {f+g x} \left (\sqrt {c} d-i \sqrt {a} e\right ) \sqrt {\frac {\left (\sqrt {c} x+i \sqrt {a}\right ) (e f-d g)}{(d+e x) \left (\sqrt {c} f-i \sqrt {a} g\right )}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.97, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {c x^{2} + a} \sqrt {e x + d} \sqrt {g x + f}}{c e g x^{4} + {\left (c e f + c d g\right )} x^{3} + a d f + {\left (c d f + a e g\right )} x^{2} + {\left (a e f + a d g\right )} x}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {c x^{2} + a} \sqrt {e x + d} \sqrt {g x + f}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.20, size = 433, normalized size = 0.95 \[ \frac {2 \left (c \,e^{2} f \,x^{2}+2 c d e f x -\sqrt {-a c}\, e^{2} g \,x^{2}+c \,d^{2} f -2 \sqrt {-a c}\, d e g x -\sqrt {-a c}\, d^{2} g \right ) \sqrt {\frac {\left (d g -e f \right ) \left (c x +\sqrt {-a c}\right )}{\left (-c f +\sqrt {-a c}\, g \right ) \left (e x +d \right )}}\, \sqrt {\frac {\left (d g -e f \right ) \left (-c x +\sqrt {-a c}\right )}{\left (c f +\sqrt {-a c}\, g \right ) \left (e x +d \right )}}\, \sqrt {\frac {\left (-c d +\sqrt {-a c}\, e \right ) \left (g x +f \right )}{\left (-c f +\sqrt {-a c}\, g \right ) \left (e x +d \right )}}\, \sqrt {e x +d}\, \sqrt {g x +f}\, \sqrt {c \,x^{2}+a}\, \EllipticF \left (\sqrt {\frac {\left (-c d +\sqrt {-a c}\, e \right ) \left (g x +f \right )}{\left (-c f +\sqrt {-a c}\, g \right ) \left (e x +d \right )}}, \sqrt {\frac {\left (c d +\sqrt {-a c}\, e \right ) \left (-c f +\sqrt {-a c}\, g \right )}{\left (c f +\sqrt {-a c}\, g \right ) \left (-c d +\sqrt {-a c}\, e \right )}}\right )}{\sqrt {-\frac {\left (g x +f \right ) \left (e x +d \right ) \left (-c x +\sqrt {-a c}\right ) \left (c x +\sqrt {-a c}\right )}{c}}\, \left (d g -e f \right ) \left (c d -\sqrt {-a c}\, e \right ) \sqrt {c e g \,x^{4}+c d g \,x^{3}+c e f \,x^{3}+a e g \,x^{2}+c d f \,x^{2}+a d g x +a e f x +a d f}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {c x^{2} + a} \sqrt {e x + d} \sqrt {g x + f}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {1}{\sqrt {f+g\,x}\,\sqrt {c\,x^2+a}\,\sqrt {d+e\,x}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {a + c x^{2}} \sqrt {d + e x} \sqrt {f + g x}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________